package com.spatio.serving.basic.service.template.common.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigInteger;

public class UserInfoDo {

    //用户id
    @JsonProperty("user_id")
    private BigInteger user_id;
    //用户性别
    @JsonProperty("gender")
    private String gender;
    //身高
    @JsonProperty("height")
    private double height;
    //体重
    @JsonProperty("weight")
    private double weight;
    //年龄
    @JsonProperty("age")
    private int age;

    //喝水频率
    @JsonProperty("water_fre")
    private int water_fre;
    //运动频率
    @JsonProperty("exercise_fre")
    private int exercise_fre;
    //目标体重
    @JsonProperty("target_weight")
    private double target_weight;
    //每周体重变化目标
    @JsonProperty("change_per_week")
    private double change_per_week;
    //推荐卡路里
    @JsonProperty("target_calories")
    private Double target_calories;
    //推荐蛋白质
    @JsonProperty("target_proteins")
    private double target_proteins;
    //推荐脂肪
    @JsonProperty("target_fats")
    private double target_fats;
    //推荐碳水化合物
    @JsonProperty("target_carbs")
    private double target_carbs;


    public UserInfoDo() {
    }

    public UserInfoDo(BigInteger user_id, String gender, double height, double weight, int age, int water_fre, int exercise_fre, double target_weight, double change_per_week, Double target_calories, double target_proteins, double target_fats, double target_carbs) {
        this.user_id = user_id;
        this.gender = gender;
        this.height = height;
        this.weight = weight;
        this.age = age;
        this.water_fre = water_fre;
        this.exercise_fre = exercise_fre;
        this.target_weight = target_weight;
        this.change_per_week = change_per_week;
        this.target_calories = target_calories;
        this.target_proteins = target_proteins;
        this.target_fats = target_fats;
        this.target_carbs = target_carbs;
    }

    /**
     * 获取
     * @return user_id
     */
    public BigInteger getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(BigInteger user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return height
     */
    public double getHeight() {
        return height;
    }

    /**
     * 设置
     * @param height
     */
    public void setHeight(double height) {
        this.height = height;
    }

    /**
     * 获取
     * @return weight
     */
    public double getWeight() {
        return weight;
    }

    /**
     * 设置
     * @param weight
     */
    public void setWeight(double weight) {
        this.weight = weight;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * 获取
     * @return water_fre
     */
    public int getWater_fre() {
        return water_fre;
    }

    /**
     * 设置
     * @param water_fre
     */
    public void setWater_fre(int water_fre) {
        this.water_fre = water_fre;
    }

    /**
     * 获取
     * @return exercise_fre
     */
    public int getExercise_fre() {
        return exercise_fre;
    }

    /**
     * 设置
     * @param exercise_fre
     */
    public void setExercise_fre(int exercise_fre) {
        this.exercise_fre = exercise_fre;
    }

    /**
     * 获取
     * @return target_weight
     */
    public double getTarget_weight() {
        return target_weight;
    }

    /**
     * 设置
     * @param target_weight
     */
    public void setTarget_weight(double target_weight) {
        this.target_weight = target_weight;
    }

    /**
     * 获取
     * @return change_per_week
     */
    public double getChange_per_week() {
        return change_per_week;
    }

    /**
     * 设置
     * @param change_per_week
     */
    public void setChange_per_week(double change_per_week) {
        this.change_per_week = change_per_week;
    }

    /**
     * 获取
     * @return target_calories
     */
    public Double getTarget_calories() {
        return target_calories;
    }

    /**
     * 设置
     * @param target_calories
     */
    public void setTarget_calories(Double target_calories) {
        this.target_calories = target_calories;
    }

    /**
     * 获取
     * @return target_proteins
     */
    public double getTarget_proteins() {
        return target_proteins;
    }

    /**
     * 设置
     * @param target_proteins
     */
    public void setTarget_proteins(double target_proteins) {
        this.target_proteins = target_proteins;
    }

    /**
     * 获取
     * @return target_fats
     */
    public double getTarget_fats() {
        return target_fats;
    }

    /**
     * 设置
     * @param target_fats
     */
    public void setTarget_fats(double target_fats) {
        this.target_fats = target_fats;
    }

    /**
     * 获取
     * @return target_carbs
     */
    public double getTarget_carbs() {
        return target_carbs;
    }

    /**
     * 设置
     * @param target_carbs
     */
    public void setTarget_carbs(double target_carbs) {
        this.target_carbs = target_carbs;
    }

    public String toString() {
        return "UserInfoDo{user_id = " + user_id + ", gender = " + gender + ", height = " + height + ", weight = " + weight + ", age = " + age + ", water_fre = " + water_fre + ", exercise_fre = " + exercise_fre + ", target_weight = " + target_weight + ", change_per_week = " + change_per_week + ", target_calories = " + target_calories + ", target_proteins = " + target_proteins + ", target_fats = " + target_fats + ", target_carbs = " + target_carbs + "}";
    }
}
